﻿using Domain.Entities.Modulers;
using FluentMigrator;
using FrameworkCore.Extensions;

namespace Domain.Migrations.Modulers;

[Migration(202412242321)]
public class ModulerAddTitle : ForwardOnlyMigration
{
    public override void Up()
    {
        Alter.Table(MigrationExpressions.GetTableName(typeof(Moduler)))
          .AddColumn(MigrationExpressions.ColumnNameFor<Moduler>(nameof(Moduler.Title))).AsString(100).Nullable().WithColumnDescription("标题");
    }
}